package org.xw.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.xw.pojo.MessagePojo;

import java.sql.Timestamp;
import java.util.List;

/**
 * 群聊信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChatDTO {
    private Integer id;
    private String chatName;//多人就提交
    private String headImage;//多人就提交
    private int status;//解散状态
    private int top;//置顶状态
    private Timestamp updateTime;
    private int userStatus;//用户权限 群主1，默认 成员0
    private List<ChatOneDTO> chatOneDTOS;
    private MessagePojo NewMsg;
    private int isQw;
    private String username;
    private String userImage;

}
